Iso14b command group
This command group implements the low-level ISO 14443-3 (Type B) commands according to the ISO 14443-3 (Type B) standard
A PICC compliant to ISO 14443-3 (Type B) is always in one of five states:
- Power off state
- Idle state
- Ready state
- Active state
- Halt state
As long as the PICC is not present in the HF field of an antenna, it is in power off state. When the PICC gets into the HF field, it will switch to idle state automatically. The Iso14b.Request command scans for PICCs in idle state and returns necessary information about them to the host. Furthermore, this command will change the state of the detected PICCs to ready state. The Iso14b.Halt command can be used to set PICCs from ready state to halt state so that they do not respond to conventional Iso14b.Request commands any longer. PICCs in halt state can only be reactivated by setting a special parameter flag in the Iso14b.Request command.
From ready state, one or more PICCs may be switched to the active state via the Iso14b.Attrib command. Not all PICCs support being in active state while other PICCs are at the same time: such PICCs need to be selected exclusively instead.
Communication with the PICC by means of APDU exchanges is subject to the ISO 14443-4 standard which is explained in detail in the Iso14L4 command group documentation. Only PICCs in active state are able to execute ISO 14443-4 commands. For proprietary PICCs which are not compliant to the ISO 14443-4 standard, Iso14b.TransparentCmd should be used instead. It provides a raw communication channel between the application and the PICC, without any interpretation of the transferred data within the reader, thereby allowing to send/receive arbitrary request/response data to/from the PICC.
After data exchange is completed, the PICC may automatically be switched to halt state so that it does not respond to any command which may follow. Depending on the PICC being compliant to the ISO 14443-4 standard or not, either a special command of the Iso14L4 command group or a proprietary card command transmitted via Iso14b.TransparentCmd have to be used for this purpose. PICCs in halt state can only be reactivated by setting as special parameter flag in the Iso14b.Request command.
WARNING: This command set is not available in all Baltech reader firmware variants.
Status codes
BRP status | BRP Library Error Code | Mnemonic | Description |
---|---|---|---|
0x01 | 0x1401 (5121) | Iso14b.ErrNoTag | No card in field of antenna or card in field of antenna does not match given VHL-file. |
0x02 | 0x1402 (5122) | Iso14b.ErrCollision | More than one PICC answered in the same time slot and none of them could therefore be requested correctly. The Iso14b.Request command needs to be called again, maybe with more time slots. |
0x03 | 0x1403 (5123) | Iso14b.ErrAuth | Authentication error. |
0x04 | 0x1404 (5124) | Iso14b.ErrHf | General HF error. |
0x07 | 0x1407 (5127) | Iso14b.ErrFrame | Bit error, parity error or frame error (start/stop bit). |
0x08 | 0x1408 (5128) | Iso14b.ErrCrc | CRC checksum error. |
0x10 | 0x1410 (5136) | Iso14b.ErrCom | Error in communication with reader chip. |
0x21 | 0x1421 (5153) | Iso14b.ErrEeprom | Error accessing EEPROM of the reader chip. |
0x22 | 0x1422 (5154) | Iso14b.ErrCardNotSupported | Reader chip does not support card type. |
0x23 | 0x1423 (5155) | Iso14b.ErrMem | Either internal list of labels or response buffer full. |
0x24 | 0x1424 (5156) | Iso14b.ErrHwNotSupported | Command not supported by hardware. |